package com.spark.userapi.feign.fallback;

import com.spark.basecommon.api.R;
import com.spark.basecommon.entity.vo.LoginUserVO;
import com.spark.userapi.feign.UserFeign;

/**
 * @author fuqiang
 * @Description 熔断
 * @Date 2020/9/30
 */
public class UserFallBack implements UserFeign {
    @Override
    public R<LoginUserVO> getUserInfoByUserName(String username) {
        return R.failed("获取用户信息失败");
    }
}
